// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'

Vue.config.productionTip = false


/*引入全局css*/
import '../static/css/main.css'

/* use iview*/
import iView from 'iview';
import 'iview/dist/styles/iview.css';
Vue.use(iView);

/*全局加载axios拦截器---配置axios的原型链*/
import './axios/axios'

/*global date format*/
import {dateStr} from "./tool/tool";


// 引入vue-photo-previe
import preview from 'vue-photo-preview'
import 'vue-photo-preview/dist/skin.css'
Vue.use(preview)

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App},
  template: '<App/>'
})
